package com.ByteDance.service;

import com.ByteDance.model.po.CommentEntity;
import com.ByteDance.model.vo.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 视频评论表 服务类
 * </p>
 *
 * @author 朱哥
 * @since 2024-03-04
 */
public interface ICommentService extends IService<CommentEntity> {

    CommentEntity PostComment(int userId, int videoId, int actionType, String commentText, Integer commentId);

    Comment[] searchCommentByVideoId(int yid , int videoId);
}
